<?php 
/**
 * Parameters
 */
?>

<?php slot('heading', 'Benutzernachricht schreiben')?>
<?php slot('current_nav_tab', 'admin');?>
<?php use_stylesheets_for_form($form) ?>
<?php use_javascripts_for_form($form) ?>

		
		<form action="<?php echo url_for('sf_guard_user_message_send');?>" method="post" class="form uniform label-top" id="message_form">
          <?php echo $form->renderHiddenFields(true) ?>
			<div class="x8">
				
				<div class="tab_container">
					<ul class="tabs">
						<li><a href="#tab_message">Nachricht</a></li>
					</ul>
					
					<div class="tab_content_container">
						
						<div id="tab_message" class="tab_content">
							<div class="field">
								<?php echo $form['subject']->renderLabel();?>
								<?php echo $form['subject']->render();?>
							</div>
							<div class="field">
								<?php echo $form['message']->renderLabel();?>
								<?php echo $form['message']->render();?>
							</div>
							<div class="field">
								<?php echo $form['user_list']->renderLabel();?>
								<?php echo $form['user_list']->render();?>
							</div>
						</div>
						
					</div>
					
				</div>
				
			</div>
			<div class="x4">
				<h2 class="box">Werkzeugbox<img alt="Werkzeugbox" src="<?php echo image_path('icons/content_werkzeugbox.png');?>" /></h2>
				<table class="box_table subnavigation">
					<tbody>
						<tr>
							<td><a href="#" onClick="document.forms['message_form'].submit();return false;"><img alt="Nachricht verschicken" src="<?php echo image_path('icons/content_subnavigation_speichern.png');?>" />Nachricht verschicken</a></td>
						</tr>
						<tr>
							<td><a href="<?php echo url_for('sf_guard_user')?>"><img alt="Abbrechen und zur &Uuml;bersicht" src="<?php echo image_path('icons/content_subnavigation_zurueck.png');?>" />Abbrechen</a></td>
						</tr>
					</tbody>
				</table>
			</div>
		</form>